package cn.caixiong.org.service.impl;

import cn.caixiong.basic.service.Impl.BaseServiceImpl;
import cn.caixiong.basic.util.PageList;
import cn.caixiong.org.domain.Employee;
import cn.caixiong.org.mapper.EmployeeMapper;
import cn.caixiong.org.query.EmployeeQuery;
import cn.caixiong.org.service.IEmployeeService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.beans.Transient;
import java.util.List;

@Service
public class EmployeeServiceImpl extends BaseServiceImpl<Employee, EmployeeQuery> implements IEmployeeService {
    @Autowired
    private EmployeeMapper employeeMapper;

   //查询所有经理
    @Override
    public List<Employee> findManager() {
        return employeeMapper.findManager();
    }
}
